const Koa=require('koa')
const router=require('./app/router')
const bodyParser = require('koa-bodyparser')
const app=new Koa()
app.use(bodyParser())
app.use(router.routes())

app.listen(3000,()=>{
    console.log('服务器已启动');
})